Adds a set of items to the 
ICollection.
            
            
            
Syntax
            
Exceptions
						
            
            
            
            
Example
Library/Library.Test/TestBTreeDictionary.cs
             | C# |  Copy Code | 
|---|
BTreeDictionary<int, string> data = new BTreeDictionary<int, string>(Comparer, GetSample());
BTreeDictionary<int, string> copy = new BTreeDictionary<int, string>();
copy.AddRange(data);
Assert.AreEqual(copy.Count, data.Count);
foreach (int key in data.Keys)
    Assert.AreEqual(data[key], copy[key]); | 
 
| VB.NET |  Copy Code | 
|---|
Dim data As New BTreeDictionary(Of Integer, String)(Comparer, GetSample())
Dim copy As New BTreeDictionary(Of Integer, String)()
copy.AddRange(data)
Assert.AreEqual(copy.Count, data.Count)
For Each key As Integer In data.Keys
    Assert.AreEqual(data(key), copy(key))
Next | 
 
 
            
            
Requirements
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
 
            
            
See Also